package com.basic.inspection.dao.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class EquipmentLifeCycleExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public EquipmentLifeCycleExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andLogdateIsNull() {
            addCriterion("logdate is null");
            return (Criteria) this;
        }

        public Criteria andLogdateIsNotNull() {
            addCriterion("logdate is not null");
            return (Criteria) this;
        }

        public Criteria andLogdateEqualTo(Date value) {
            addCriterion("logdate =", value, "logdate");
            return (Criteria) this;
        }

        public Criteria andLogdateNotEqualTo(Date value) {
            addCriterion("logdate <>", value, "logdate");
            return (Criteria) this;
        }

        public Criteria andLogdateGreaterThan(Date value) {
            addCriterion("logdate >", value, "logdate");
            return (Criteria) this;
        }

        public Criteria andLogdateGreaterThanOrEqualTo(Date value) {
            addCriterion("logdate >=", value, "logdate");
            return (Criteria) this;
        }

        public Criteria andLogdateLessThan(Date value) {
            addCriterion("logdate <", value, "logdate");
            return (Criteria) this;
        }

        public Criteria andLogdateLessThanOrEqualTo(Date value) {
            addCriterion("logdate <=", value, "logdate");
            return (Criteria) this;
        }

        public Criteria andLogdateIn(List<Date> values) {
            addCriterion("logdate in", values, "logdate");
            return (Criteria) this;
        }

        public Criteria andLogdateNotIn(List<Date> values) {
            addCriterion("logdate not in", values, "logdate");
            return (Criteria) this;
        }

        public Criteria andLogdateBetween(Date value1, Date value2) {
            addCriterion("logdate between", value1, value2, "logdate");
            return (Criteria) this;
        }

        public Criteria andLogdateNotBetween(Date value1, Date value2) {
            addCriterion("logdate not between", value1, value2, "logdate");
            return (Criteria) this;
        }

        public Criteria andSignIdIsNull() {
            addCriterion("sign_id is null");
            return (Criteria) this;
        }

        public Criteria andSignIdIsNotNull() {
            addCriterion("sign_id is not null");
            return (Criteria) this;
        }

        public Criteria andSignIdEqualTo(String value) {
            addCriterion("sign_id =", value, "signId");
            return (Criteria) this;
        }

        public Criteria andSignIdNotEqualTo(String value) {
            addCriterion("sign_id <>", value, "signId");
            return (Criteria) this;
        }

        public Criteria andSignIdGreaterThan(String value) {
            addCriterion("sign_id >", value, "signId");
            return (Criteria) this;
        }

        public Criteria andSignIdGreaterThanOrEqualTo(String value) {
            addCriterion("sign_id >=", value, "signId");
            return (Criteria) this;
        }

        public Criteria andSignIdLessThan(String value) {
            addCriterion("sign_id <", value, "signId");
            return (Criteria) this;
        }

        public Criteria andSignIdLessThanOrEqualTo(String value) {
            addCriterion("sign_id <=", value, "signId");
            return (Criteria) this;
        }

        public Criteria andSignIdLike(String value) {
            addCriterion("sign_id like", value, "signId");
            return (Criteria) this;
        }

        public Criteria andSignIdNotLike(String value) {
            addCriterion("sign_id not like", value, "signId");
            return (Criteria) this;
        }

        public Criteria andSignIdIn(List<String> values) {
            addCriterion("sign_id in", values, "signId");
            return (Criteria) this;
        }

        public Criteria andSignIdNotIn(List<String> values) {
            addCriterion("sign_id not in", values, "signId");
            return (Criteria) this;
        }

        public Criteria andSignIdBetween(String value1, String value2) {
            addCriterion("sign_id between", value1, value2, "signId");
            return (Criteria) this;
        }

        public Criteria andSignIdNotBetween(String value1, String value2) {
            addCriterion("sign_id not between", value1, value2, "signId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdIsNull() {
            addCriterion("equipment_id is null");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdIsNotNull() {
            addCriterion("equipment_id is not null");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdEqualTo(Long value) {
            addCriterion("equipment_id =", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotEqualTo(Long value) {
            addCriterion("equipment_id <>", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdGreaterThan(Long value) {
            addCriterion("equipment_id >", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdGreaterThanOrEqualTo(Long value) {
            addCriterion("equipment_id >=", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdLessThan(Long value) {
            addCriterion("equipment_id <", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdLessThanOrEqualTo(Long value) {
            addCriterion("equipment_id <=", value, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdIn(List<Long> values) {
            addCriterion("equipment_id in", values, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotIn(List<Long> values) {
            addCriterion("equipment_id not in", values, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdBetween(Long value1, Long value2) {
            addCriterion("equipment_id between", value1, value2, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andEquipmentIdNotBetween(Long value1, Long value2) {
            addCriterion("equipment_id not between", value1, value2, "equipmentId");
            return (Criteria) this;
        }

        public Criteria andStandingBookIdIsNull() {
            addCriterion("standing_book_id is null");
            return (Criteria) this;
        }

        public Criteria andStandingBookIdIsNotNull() {
            addCriterion("standing_book_id is not null");
            return (Criteria) this;
        }

        public Criteria andStandingBookIdEqualTo(Long value) {
            addCriterion("standing_book_id =", value, "standingBookId");
            return (Criteria) this;
        }

        public Criteria andStandingBookIdNotEqualTo(Long value) {
            addCriterion("standing_book_id <>", value, "standingBookId");
            return (Criteria) this;
        }

        public Criteria andStandingBookIdGreaterThan(Long value) {
            addCriterion("standing_book_id >", value, "standingBookId");
            return (Criteria) this;
        }

        public Criteria andStandingBookIdGreaterThanOrEqualTo(Long value) {
            addCriterion("standing_book_id >=", value, "standingBookId");
            return (Criteria) this;
        }

        public Criteria andStandingBookIdLessThan(Long value) {
            addCriterion("standing_book_id <", value, "standingBookId");
            return (Criteria) this;
        }

        public Criteria andStandingBookIdLessThanOrEqualTo(Long value) {
            addCriterion("standing_book_id <=", value, "standingBookId");
            return (Criteria) this;
        }

        public Criteria andStandingBookIdIn(List<Long> values) {
            addCriterion("standing_book_id in", values, "standingBookId");
            return (Criteria) this;
        }

        public Criteria andStandingBookIdNotIn(List<Long> values) {
            addCriterion("standing_book_id not in", values, "standingBookId");
            return (Criteria) this;
        }

        public Criteria andStandingBookIdBetween(Long value1, Long value2) {
            addCriterion("standing_book_id between", value1, value2, "standingBookId");
            return (Criteria) this;
        }

        public Criteria andStandingBookIdNotBetween(Long value1, Long value2) {
            addCriterion("standing_book_id not between", value1, value2, "standingBookId");
            return (Criteria) this;
        }

        public Criteria andStationDataIdIsNull() {
            addCriterion("station_data_id is null");
            return (Criteria) this;
        }

        public Criteria andStationDataIdIsNotNull() {
            addCriterion("station_data_id is not null");
            return (Criteria) this;
        }

        public Criteria andStationDataIdEqualTo(String value) {
            addCriterion("station_data_id =", value, "stationDataId");
            return (Criteria) this;
        }

        public Criteria andStationDataIdNotEqualTo(String value) {
            addCriterion("station_data_id <>", value, "stationDataId");
            return (Criteria) this;
        }

        public Criteria andStationDataIdGreaterThan(String value) {
            addCriterion("station_data_id >", value, "stationDataId");
            return (Criteria) this;
        }

        public Criteria andStationDataIdGreaterThanOrEqualTo(String value) {
            addCriterion("station_data_id >=", value, "stationDataId");
            return (Criteria) this;
        }

        public Criteria andStationDataIdLessThan(String value) {
            addCriterion("station_data_id <", value, "stationDataId");
            return (Criteria) this;
        }

        public Criteria andStationDataIdLessThanOrEqualTo(String value) {
            addCriterion("station_data_id <=", value, "stationDataId");
            return (Criteria) this;
        }

        public Criteria andStationDataIdLike(String value) {
            addCriterion("station_data_id like", value, "stationDataId");
            return (Criteria) this;
        }

        public Criteria andStationDataIdNotLike(String value) {
            addCriterion("station_data_id not like", value, "stationDataId");
            return (Criteria) this;
        }

        public Criteria andStationDataIdIn(List<String> values) {
            addCriterion("station_data_id in", values, "stationDataId");
            return (Criteria) this;
        }

        public Criteria andStationDataIdNotIn(List<String> values) {
            addCriterion("station_data_id not in", values, "stationDataId");
            return (Criteria) this;
        }

        public Criteria andStationDataIdBetween(String value1, String value2) {
            addCriterion("station_data_id between", value1, value2, "stationDataId");
            return (Criteria) this;
        }

        public Criteria andStationDataIdNotBetween(String value1, String value2) {
            addCriterion("station_data_id not between", value1, value2, "stationDataId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNull() {
            addCriterion("device_id is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNotNull() {
            addCriterion("device_id is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdEqualTo(String value) {
            addCriterion("device_id =", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotEqualTo(String value) {
            addCriterion("device_id <>", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThan(String value) {
            addCriterion("device_id >", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThanOrEqualTo(String value) {
            addCriterion("device_id >=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThan(String value) {
            addCriterion("device_id <", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThanOrEqualTo(String value) {
            addCriterion("device_id <=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLike(String value) {
            addCriterion("device_id like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotLike(String value) {
            addCriterion("device_id not like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIn(List<String> values) {
            addCriterion("device_id in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotIn(List<String> values) {
            addCriterion("device_id not in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdBetween(String value1, String value2) {
            addCriterion("device_id between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotBetween(String value1, String value2) {
            addCriterion("device_id not between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andPumpNameIsNull() {
            addCriterion("pump_name is null");
            return (Criteria) this;
        }

        public Criteria andPumpNameIsNotNull() {
            addCriterion("pump_name is not null");
            return (Criteria) this;
        }

        public Criteria andPumpNameEqualTo(String value) {
            addCriterion("pump_name =", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameNotEqualTo(String value) {
            addCriterion("pump_name <>", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameGreaterThan(String value) {
            addCriterion("pump_name >", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameGreaterThanOrEqualTo(String value) {
            addCriterion("pump_name >=", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameLessThan(String value) {
            addCriterion("pump_name <", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameLessThanOrEqualTo(String value) {
            addCriterion("pump_name <=", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameLike(String value) {
            addCriterion("pump_name like", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameNotLike(String value) {
            addCriterion("pump_name not like", value, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameIn(List<String> values) {
            addCriterion("pump_name in", values, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameNotIn(List<String> values) {
            addCriterion("pump_name not in", values, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameBetween(String value1, String value2) {
            addCriterion("pump_name between", value1, value2, "pumpName");
            return (Criteria) this;
        }

        public Criteria andPumpNameNotBetween(String value1, String value2) {
            addCriterion("pump_name not between", value1, value2, "pumpName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameIsNull() {
            addCriterion("equipment_name is null");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameIsNotNull() {
            addCriterion("equipment_name is not null");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameEqualTo(String value) {
            addCriterion("equipment_name =", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameNotEqualTo(String value) {
            addCriterion("equipment_name <>", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameGreaterThan(String value) {
            addCriterion("equipment_name >", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameGreaterThanOrEqualTo(String value) {
            addCriterion("equipment_name >=", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameLessThan(String value) {
            addCriterion("equipment_name <", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameLessThanOrEqualTo(String value) {
            addCriterion("equipment_name <=", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameLike(String value) {
            addCriterion("equipment_name like", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameNotLike(String value) {
            addCriterion("equipment_name not like", value, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameIn(List<String> values) {
            addCriterion("equipment_name in", values, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameNotIn(List<String> values) {
            addCriterion("equipment_name not in", values, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameBetween(String value1, String value2) {
            addCriterion("equipment_name between", value1, value2, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andEquipmentNameNotBetween(String value1, String value2) {
            addCriterion("equipment_name not between", value1, value2, "equipmentName");
            return (Criteria) this;
        }

        public Criteria andTempMaxIsNull() {
            addCriterion("temp_max is null");
            return (Criteria) this;
        }

        public Criteria andTempMaxIsNotNull() {
            addCriterion("temp_max is not null");
            return (Criteria) this;
        }

        public Criteria andTempMaxEqualTo(BigDecimal value) {
            addCriterion("temp_max =", value, "tempMax");
            return (Criteria) this;
        }

        public Criteria andTempMaxNotEqualTo(BigDecimal value) {
            addCriterion("temp_max <>", value, "tempMax");
            return (Criteria) this;
        }

        public Criteria andTempMaxGreaterThan(BigDecimal value) {
            addCriterion("temp_max >", value, "tempMax");
            return (Criteria) this;
        }

        public Criteria andTempMaxGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("temp_max >=", value, "tempMax");
            return (Criteria) this;
        }

        public Criteria andTempMaxLessThan(BigDecimal value) {
            addCriterion("temp_max <", value, "tempMax");
            return (Criteria) this;
        }

        public Criteria andTempMaxLessThanOrEqualTo(BigDecimal value) {
            addCriterion("temp_max <=", value, "tempMax");
            return (Criteria) this;
        }

        public Criteria andTempMaxIn(List<BigDecimal> values) {
            addCriterion("temp_max in", values, "tempMax");
            return (Criteria) this;
        }

        public Criteria andTempMaxNotIn(List<BigDecimal> values) {
            addCriterion("temp_max not in", values, "tempMax");
            return (Criteria) this;
        }

        public Criteria andTempMaxBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("temp_max between", value1, value2, "tempMax");
            return (Criteria) this;
        }

        public Criteria andTempMaxNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("temp_max not between", value1, value2, "tempMax");
            return (Criteria) this;
        }

        public Criteria andTempMinIsNull() {
            addCriterion("temp_min is null");
            return (Criteria) this;
        }

        public Criteria andTempMinIsNotNull() {
            addCriterion("temp_min is not null");
            return (Criteria) this;
        }

        public Criteria andTempMinEqualTo(BigDecimal value) {
            addCriterion("temp_min =", value, "tempMin");
            return (Criteria) this;
        }

        public Criteria andTempMinNotEqualTo(BigDecimal value) {
            addCriterion("temp_min <>", value, "tempMin");
            return (Criteria) this;
        }

        public Criteria andTempMinGreaterThan(BigDecimal value) {
            addCriterion("temp_min >", value, "tempMin");
            return (Criteria) this;
        }

        public Criteria andTempMinGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("temp_min >=", value, "tempMin");
            return (Criteria) this;
        }

        public Criteria andTempMinLessThan(BigDecimal value) {
            addCriterion("temp_min <", value, "tempMin");
            return (Criteria) this;
        }

        public Criteria andTempMinLessThanOrEqualTo(BigDecimal value) {
            addCriterion("temp_min <=", value, "tempMin");
            return (Criteria) this;
        }

        public Criteria andTempMinIn(List<BigDecimal> values) {
            addCriterion("temp_min in", values, "tempMin");
            return (Criteria) this;
        }

        public Criteria andTempMinNotIn(List<BigDecimal> values) {
            addCriterion("temp_min not in", values, "tempMin");
            return (Criteria) this;
        }

        public Criteria andTempMinBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("temp_min between", value1, value2, "tempMin");
            return (Criteria) this;
        }

        public Criteria andTempMinNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("temp_min not between", value1, value2, "tempMin");
            return (Criteria) this;
        }

        public Criteria andRhMaxIsNull() {
            addCriterion("rh_max is null");
            return (Criteria) this;
        }

        public Criteria andRhMaxIsNotNull() {
            addCriterion("rh_max is not null");
            return (Criteria) this;
        }

        public Criteria andRhMaxEqualTo(BigDecimal value) {
            addCriterion("rh_max =", value, "rhMax");
            return (Criteria) this;
        }

        public Criteria andRhMaxNotEqualTo(BigDecimal value) {
            addCriterion("rh_max <>", value, "rhMax");
            return (Criteria) this;
        }

        public Criteria andRhMaxGreaterThan(BigDecimal value) {
            addCriterion("rh_max >", value, "rhMax");
            return (Criteria) this;
        }

        public Criteria andRhMaxGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("rh_max >=", value, "rhMax");
            return (Criteria) this;
        }

        public Criteria andRhMaxLessThan(BigDecimal value) {
            addCriterion("rh_max <", value, "rhMax");
            return (Criteria) this;
        }

        public Criteria andRhMaxLessThanOrEqualTo(BigDecimal value) {
            addCriterion("rh_max <=", value, "rhMax");
            return (Criteria) this;
        }

        public Criteria andRhMaxIn(List<BigDecimal> values) {
            addCriterion("rh_max in", values, "rhMax");
            return (Criteria) this;
        }

        public Criteria andRhMaxNotIn(List<BigDecimal> values) {
            addCriterion("rh_max not in", values, "rhMax");
            return (Criteria) this;
        }

        public Criteria andRhMaxBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rh_max between", value1, value2, "rhMax");
            return (Criteria) this;
        }

        public Criteria andRhMaxNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rh_max not between", value1, value2, "rhMax");
            return (Criteria) this;
        }

        public Criteria andRhMinIsNull() {
            addCriterion("rh_min is null");
            return (Criteria) this;
        }

        public Criteria andRhMinIsNotNull() {
            addCriterion("rh_min is not null");
            return (Criteria) this;
        }

        public Criteria andRhMinEqualTo(BigDecimal value) {
            addCriterion("rh_min =", value, "rhMin");
            return (Criteria) this;
        }

        public Criteria andRhMinNotEqualTo(BigDecimal value) {
            addCriterion("rh_min <>", value, "rhMin");
            return (Criteria) this;
        }

        public Criteria andRhMinGreaterThan(BigDecimal value) {
            addCriterion("rh_min >", value, "rhMin");
            return (Criteria) this;
        }

        public Criteria andRhMinGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("rh_min >=", value, "rhMin");
            return (Criteria) this;
        }

        public Criteria andRhMinLessThan(BigDecimal value) {
            addCriterion("rh_min <", value, "rhMin");
            return (Criteria) this;
        }

        public Criteria andRhMinLessThanOrEqualTo(BigDecimal value) {
            addCriterion("rh_min <=", value, "rhMin");
            return (Criteria) this;
        }

        public Criteria andRhMinIn(List<BigDecimal> values) {
            addCriterion("rh_min in", values, "rhMin");
            return (Criteria) this;
        }

        public Criteria andRhMinNotIn(List<BigDecimal> values) {
            addCriterion("rh_min not in", values, "rhMin");
            return (Criteria) this;
        }

        public Criteria andRhMinBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rh_min between", value1, value2, "rhMin");
            return (Criteria) this;
        }

        public Criteria andRhMinNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rh_min not between", value1, value2, "rhMin");
            return (Criteria) this;
        }

        public Criteria andHealthValueIsNull() {
            addCriterion("health_value is null");
            return (Criteria) this;
        }

        public Criteria andHealthValueIsNotNull() {
            addCriterion("health_value is not null");
            return (Criteria) this;
        }

        public Criteria andHealthValueEqualTo(BigDecimal value) {
            addCriterion("health_value =", value, "healthValue");
            return (Criteria) this;
        }

        public Criteria andHealthValueNotEqualTo(BigDecimal value) {
            addCriterion("health_value <>", value, "healthValue");
            return (Criteria) this;
        }

        public Criteria andHealthValueGreaterThan(BigDecimal value) {
            addCriterion("health_value >", value, "healthValue");
            return (Criteria) this;
        }

        public Criteria andHealthValueGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("health_value >=", value, "healthValue");
            return (Criteria) this;
        }

        public Criteria andHealthValueLessThan(BigDecimal value) {
            addCriterion("health_value <", value, "healthValue");
            return (Criteria) this;
        }

        public Criteria andHealthValueLessThanOrEqualTo(BigDecimal value) {
            addCriterion("health_value <=", value, "healthValue");
            return (Criteria) this;
        }

        public Criteria andHealthValueIn(List<BigDecimal> values) {
            addCriterion("health_value in", values, "healthValue");
            return (Criteria) this;
        }

        public Criteria andHealthValueNotIn(List<BigDecimal> values) {
            addCriterion("health_value not in", values, "healthValue");
            return (Criteria) this;
        }

        public Criteria andHealthValueBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("health_value between", value1, value2, "healthValue");
            return (Criteria) this;
        }

        public Criteria andHealthValueNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("health_value not between", value1, value2, "healthValue");
            return (Criteria) this;
        }

        public Criteria andAgingRateIsNull() {
            addCriterion("aging_rate is null");
            return (Criteria) this;
        }

        public Criteria andAgingRateIsNotNull() {
            addCriterion("aging_rate is not null");
            return (Criteria) this;
        }

        public Criteria andAgingRateEqualTo(BigDecimal value) {
            addCriterion("aging_rate =", value, "agingRate");
            return (Criteria) this;
        }

        public Criteria andAgingRateNotEqualTo(BigDecimal value) {
            addCriterion("aging_rate <>", value, "agingRate");
            return (Criteria) this;
        }

        public Criteria andAgingRateGreaterThan(BigDecimal value) {
            addCriterion("aging_rate >", value, "agingRate");
            return (Criteria) this;
        }

        public Criteria andAgingRateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("aging_rate >=", value, "agingRate");
            return (Criteria) this;
        }

        public Criteria andAgingRateLessThan(BigDecimal value) {
            addCriterion("aging_rate <", value, "agingRate");
            return (Criteria) this;
        }

        public Criteria andAgingRateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("aging_rate <=", value, "agingRate");
            return (Criteria) this;
        }

        public Criteria andAgingRateIn(List<BigDecimal> values) {
            addCriterion("aging_rate in", values, "agingRate");
            return (Criteria) this;
        }

        public Criteria andAgingRateNotIn(List<BigDecimal> values) {
            addCriterion("aging_rate not in", values, "agingRate");
            return (Criteria) this;
        }

        public Criteria andAgingRateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("aging_rate between", value1, value2, "agingRate");
            return (Criteria) this;
        }

        public Criteria andAgingRateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("aging_rate not between", value1, value2, "agingRate");
            return (Criteria) this;
        }

        public Criteria andInspectionNumIsNull() {
            addCriterion("inspection_num is null");
            return (Criteria) this;
        }

        public Criteria andInspectionNumIsNotNull() {
            addCriterion("inspection_num is not null");
            return (Criteria) this;
        }

        public Criteria andInspectionNumEqualTo(Short value) {
            addCriterion("inspection_num =", value, "inspectionNum");
            return (Criteria) this;
        }

        public Criteria andInspectionNumNotEqualTo(Short value) {
            addCriterion("inspection_num <>", value, "inspectionNum");
            return (Criteria) this;
        }

        public Criteria andInspectionNumGreaterThan(Short value) {
            addCriterion("inspection_num >", value, "inspectionNum");
            return (Criteria) this;
        }

        public Criteria andInspectionNumGreaterThanOrEqualTo(Short value) {
            addCriterion("inspection_num >=", value, "inspectionNum");
            return (Criteria) this;
        }

        public Criteria andInspectionNumLessThan(Short value) {
            addCriterion("inspection_num <", value, "inspectionNum");
            return (Criteria) this;
        }

        public Criteria andInspectionNumLessThanOrEqualTo(Short value) {
            addCriterion("inspection_num <=", value, "inspectionNum");
            return (Criteria) this;
        }

        public Criteria andInspectionNumIn(List<Short> values) {
            addCriterion("inspection_num in", values, "inspectionNum");
            return (Criteria) this;
        }

        public Criteria andInspectionNumNotIn(List<Short> values) {
            addCriterion("inspection_num not in", values, "inspectionNum");
            return (Criteria) this;
        }

        public Criteria andInspectionNumBetween(Short value1, Short value2) {
            addCriterion("inspection_num between", value1, value2, "inspectionNum");
            return (Criteria) this;
        }

        public Criteria andInspectionNumNotBetween(Short value1, Short value2) {
            addCriterion("inspection_num not between", value1, value2, "inspectionNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumIsNull() {
            addCriterion("repair_num is null");
            return (Criteria) this;
        }

        public Criteria andRepairNumIsNotNull() {
            addCriterion("repair_num is not null");
            return (Criteria) this;
        }

        public Criteria andRepairNumEqualTo(Short value) {
            addCriterion("repair_num =", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumNotEqualTo(Short value) {
            addCriterion("repair_num <>", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumGreaterThan(Short value) {
            addCriterion("repair_num >", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumGreaterThanOrEqualTo(Short value) {
            addCriterion("repair_num >=", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumLessThan(Short value) {
            addCriterion("repair_num <", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumLessThanOrEqualTo(Short value) {
            addCriterion("repair_num <=", value, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumIn(List<Short> values) {
            addCriterion("repair_num in", values, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumNotIn(List<Short> values) {
            addCriterion("repair_num not in", values, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumBetween(Short value1, Short value2) {
            addCriterion("repair_num between", value1, value2, "repairNum");
            return (Criteria) this;
        }

        public Criteria andRepairNumNotBetween(Short value1, Short value2) {
            addCriterion("repair_num not between", value1, value2, "repairNum");
            return (Criteria) this;
        }

        public Criteria andMaintenanceNumIsNull() {
            addCriterion("maintenance_num is null");
            return (Criteria) this;
        }

        public Criteria andMaintenanceNumIsNotNull() {
            addCriterion("maintenance_num is not null");
            return (Criteria) this;
        }

        public Criteria andMaintenanceNumEqualTo(Short value) {
            addCriterion("maintenance_num =", value, "maintenanceNum");
            return (Criteria) this;
        }

        public Criteria andMaintenanceNumNotEqualTo(Short value) {
            addCriterion("maintenance_num <>", value, "maintenanceNum");
            return (Criteria) this;
        }

        public Criteria andMaintenanceNumGreaterThan(Short value) {
            addCriterion("maintenance_num >", value, "maintenanceNum");
            return (Criteria) this;
        }

        public Criteria andMaintenanceNumGreaterThanOrEqualTo(Short value) {
            addCriterion("maintenance_num >=", value, "maintenanceNum");
            return (Criteria) this;
        }

        public Criteria andMaintenanceNumLessThan(Short value) {
            addCriterion("maintenance_num <", value, "maintenanceNum");
            return (Criteria) this;
        }

        public Criteria andMaintenanceNumLessThanOrEqualTo(Short value) {
            addCriterion("maintenance_num <=", value, "maintenanceNum");
            return (Criteria) this;
        }

        public Criteria andMaintenanceNumIn(List<Short> values) {
            addCriterion("maintenance_num in", values, "maintenanceNum");
            return (Criteria) this;
        }

        public Criteria andMaintenanceNumNotIn(List<Short> values) {
            addCriterion("maintenance_num not in", values, "maintenanceNum");
            return (Criteria) this;
        }

        public Criteria andMaintenanceNumBetween(Short value1, Short value2) {
            addCriterion("maintenance_num between", value1, value2, "maintenanceNum");
            return (Criteria) this;
        }

        public Criteria andMaintenanceNumNotBetween(Short value1, Short value2) {
            addCriterion("maintenance_num not between", value1, value2, "maintenanceNum");
            return (Criteria) this;
        }

        public Criteria andEquipmentLifeIsNull() {
            addCriterion("equipment_life is null");
            return (Criteria) this;
        }

        public Criteria andEquipmentLifeIsNotNull() {
            addCriterion("equipment_life is not null");
            return (Criteria) this;
        }

        public Criteria andEquipmentLifeEqualTo(Short value) {
            addCriterion("equipment_life =", value, "equipmentLife");
            return (Criteria) this;
        }

        public Criteria andEquipmentLifeNotEqualTo(Short value) {
            addCriterion("equipment_life <>", value, "equipmentLife");
            return (Criteria) this;
        }

        public Criteria andEquipmentLifeGreaterThan(Short value) {
            addCriterion("equipment_life >", value, "equipmentLife");
            return (Criteria) this;
        }

        public Criteria andEquipmentLifeGreaterThanOrEqualTo(Short value) {
            addCriterion("equipment_life >=", value, "equipmentLife");
            return (Criteria) this;
        }

        public Criteria andEquipmentLifeLessThan(Short value) {
            addCriterion("equipment_life <", value, "equipmentLife");
            return (Criteria) this;
        }

        public Criteria andEquipmentLifeLessThanOrEqualTo(Short value) {
            addCriterion("equipment_life <=", value, "equipmentLife");
            return (Criteria) this;
        }

        public Criteria andEquipmentLifeIn(List<Short> values) {
            addCriterion("equipment_life in", values, "equipmentLife");
            return (Criteria) this;
        }

        public Criteria andEquipmentLifeNotIn(List<Short> values) {
            addCriterion("equipment_life not in", values, "equipmentLife");
            return (Criteria) this;
        }

        public Criteria andEquipmentLifeBetween(Short value1, Short value2) {
            addCriterion("equipment_life between", value1, value2, "equipmentLife");
            return (Criteria) this;
        }

        public Criteria andEquipmentLifeNotBetween(Short value1, Short value2) {
            addCriterion("equipment_life not between", value1, value2, "equipmentLife");
            return (Criteria) this;
        }

        public Criteria andRatedPowerIsNull() {
            addCriterion("rated_power is null");
            return (Criteria) this;
        }

        public Criteria andRatedPowerIsNotNull() {
            addCriterion("rated_power is not null");
            return (Criteria) this;
        }

        public Criteria andRatedPowerEqualTo(BigDecimal value) {
            addCriterion("rated_power =", value, "ratedPower");
            return (Criteria) this;
        }

        public Criteria andRatedPowerNotEqualTo(BigDecimal value) {
            addCriterion("rated_power <>", value, "ratedPower");
            return (Criteria) this;
        }

        public Criteria andRatedPowerGreaterThan(BigDecimal value) {
            addCriterion("rated_power >", value, "ratedPower");
            return (Criteria) this;
        }

        public Criteria andRatedPowerGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("rated_power >=", value, "ratedPower");
            return (Criteria) this;
        }

        public Criteria andRatedPowerLessThan(BigDecimal value) {
            addCriterion("rated_power <", value, "ratedPower");
            return (Criteria) this;
        }

        public Criteria andRatedPowerLessThanOrEqualTo(BigDecimal value) {
            addCriterion("rated_power <=", value, "ratedPower");
            return (Criteria) this;
        }

        public Criteria andRatedPowerIn(List<BigDecimal> values) {
            addCriterion("rated_power in", values, "ratedPower");
            return (Criteria) this;
        }

        public Criteria andRatedPowerNotIn(List<BigDecimal> values) {
            addCriterion("rated_power not in", values, "ratedPower");
            return (Criteria) this;
        }

        public Criteria andRatedPowerBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rated_power between", value1, value2, "ratedPower");
            return (Criteria) this;
        }

        public Criteria andRatedPowerNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rated_power not between", value1, value2, "ratedPower");
            return (Criteria) this;
        }

        public Criteria andActualPowerIsNull() {
            addCriterion("actual_power is null");
            return (Criteria) this;
        }

        public Criteria andActualPowerIsNotNull() {
            addCriterion("actual_power is not null");
            return (Criteria) this;
        }

        public Criteria andActualPowerEqualTo(BigDecimal value) {
            addCriterion("actual_power =", value, "actualPower");
            return (Criteria) this;
        }

        public Criteria andActualPowerNotEqualTo(BigDecimal value) {
            addCriterion("actual_power <>", value, "actualPower");
            return (Criteria) this;
        }

        public Criteria andActualPowerGreaterThan(BigDecimal value) {
            addCriterion("actual_power >", value, "actualPower");
            return (Criteria) this;
        }

        public Criteria andActualPowerGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("actual_power >=", value, "actualPower");
            return (Criteria) this;
        }

        public Criteria andActualPowerLessThan(BigDecimal value) {
            addCriterion("actual_power <", value, "actualPower");
            return (Criteria) this;
        }

        public Criteria andActualPowerLessThanOrEqualTo(BigDecimal value) {
            addCriterion("actual_power <=", value, "actualPower");
            return (Criteria) this;
        }

        public Criteria andActualPowerIn(List<BigDecimal> values) {
            addCriterion("actual_power in", values, "actualPower");
            return (Criteria) this;
        }

        public Criteria andActualPowerNotIn(List<BigDecimal> values) {
            addCriterion("actual_power not in", values, "actualPower");
            return (Criteria) this;
        }

        public Criteria andActualPowerBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("actual_power between", value1, value2, "actualPower");
            return (Criteria) this;
        }

        public Criteria andActualPowerNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("actual_power not between", value1, value2, "actualPower");
            return (Criteria) this;
        }

        public Criteria andInspectionSTimeIsNull() {
            addCriterion("inspection_s_time is null");
            return (Criteria) this;
        }

        public Criteria andInspectionSTimeIsNotNull() {
            addCriterion("inspection_s_time is not null");
            return (Criteria) this;
        }

        public Criteria andInspectionSTimeEqualTo(Date value) {
            addCriterion("inspection_s_time =", value, "inspectionSTime");
            return (Criteria) this;
        }

        public Criteria andInspectionSTimeNotEqualTo(Date value) {
            addCriterion("inspection_s_time <>", value, "inspectionSTime");
            return (Criteria) this;
        }

        public Criteria andInspectionSTimeGreaterThan(Date value) {
            addCriterion("inspection_s_time >", value, "inspectionSTime");
            return (Criteria) this;
        }

        public Criteria andInspectionSTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("inspection_s_time >=", value, "inspectionSTime");
            return (Criteria) this;
        }

        public Criteria andInspectionSTimeLessThan(Date value) {
            addCriterion("inspection_s_time <", value, "inspectionSTime");
            return (Criteria) this;
        }

        public Criteria andInspectionSTimeLessThanOrEqualTo(Date value) {
            addCriterion("inspection_s_time <=", value, "inspectionSTime");
            return (Criteria) this;
        }

        public Criteria andInspectionSTimeIn(List<Date> values) {
            addCriterion("inspection_s_time in", values, "inspectionSTime");
            return (Criteria) this;
        }

        public Criteria andInspectionSTimeNotIn(List<Date> values) {
            addCriterion("inspection_s_time not in", values, "inspectionSTime");
            return (Criteria) this;
        }

        public Criteria andInspectionSTimeBetween(Date value1, Date value2) {
            addCriterion("inspection_s_time between", value1, value2, "inspectionSTime");
            return (Criteria) this;
        }

        public Criteria andInspectionSTimeNotBetween(Date value1, Date value2) {
            addCriterion("inspection_s_time not between", value1, value2, "inspectionSTime");
            return (Criteria) this;
        }

        public Criteria andInspectionETimeIsNull() {
            addCriterion("inspection_e_time is null");
            return (Criteria) this;
        }

        public Criteria andInspectionETimeIsNotNull() {
            addCriterion("inspection_e_time is not null");
            return (Criteria) this;
        }

        public Criteria andInspectionETimeEqualTo(Date value) {
            addCriterion("inspection_e_time =", value, "inspectionETime");
            return (Criteria) this;
        }

        public Criteria andInspectionETimeNotEqualTo(Date value) {
            addCriterion("inspection_e_time <>", value, "inspectionETime");
            return (Criteria) this;
        }

        public Criteria andInspectionETimeGreaterThan(Date value) {
            addCriterion("inspection_e_time >", value, "inspectionETime");
            return (Criteria) this;
        }

        public Criteria andInspectionETimeGreaterThanOrEqualTo(Date value) {
            addCriterion("inspection_e_time >=", value, "inspectionETime");
            return (Criteria) this;
        }

        public Criteria andInspectionETimeLessThan(Date value) {
            addCriterion("inspection_e_time <", value, "inspectionETime");
            return (Criteria) this;
        }

        public Criteria andInspectionETimeLessThanOrEqualTo(Date value) {
            addCriterion("inspection_e_time <=", value, "inspectionETime");
            return (Criteria) this;
        }

        public Criteria andInspectionETimeIn(List<Date> values) {
            addCriterion("inspection_e_time in", values, "inspectionETime");
            return (Criteria) this;
        }

        public Criteria andInspectionETimeNotIn(List<Date> values) {
            addCriterion("inspection_e_time not in", values, "inspectionETime");
            return (Criteria) this;
        }

        public Criteria andInspectionETimeBetween(Date value1, Date value2) {
            addCriterion("inspection_e_time between", value1, value2, "inspectionETime");
            return (Criteria) this;
        }

        public Criteria andInspectionETimeNotBetween(Date value1, Date value2) {
            addCriterion("inspection_e_time not between", value1, value2, "inspectionETime");
            return (Criteria) this;
        }

        public Criteria andFaultSourceIsNull() {
            addCriterion("fault_source is null");
            return (Criteria) this;
        }

        public Criteria andFaultSourceIsNotNull() {
            addCriterion("fault_source is not null");
            return (Criteria) this;
        }

        public Criteria andFaultSourceEqualTo(String value) {
            addCriterion("fault_source =", value, "faultSource");
            return (Criteria) this;
        }

        public Criteria andFaultSourceNotEqualTo(String value) {
            addCriterion("fault_source <>", value, "faultSource");
            return (Criteria) this;
        }

        public Criteria andFaultSourceGreaterThan(String value) {
            addCriterion("fault_source >", value, "faultSource");
            return (Criteria) this;
        }

        public Criteria andFaultSourceGreaterThanOrEqualTo(String value) {
            addCriterion("fault_source >=", value, "faultSource");
            return (Criteria) this;
        }

        public Criteria andFaultSourceLessThan(String value) {
            addCriterion("fault_source <", value, "faultSource");
            return (Criteria) this;
        }

        public Criteria andFaultSourceLessThanOrEqualTo(String value) {
            addCriterion("fault_source <=", value, "faultSource");
            return (Criteria) this;
        }

        public Criteria andFaultSourceLike(String value) {
            addCriterion("fault_source like", value, "faultSource");
            return (Criteria) this;
        }

        public Criteria andFaultSourceNotLike(String value) {
            addCriterion("fault_source not like", value, "faultSource");
            return (Criteria) this;
        }

        public Criteria andFaultSourceIn(List<String> values) {
            addCriterion("fault_source in", values, "faultSource");
            return (Criteria) this;
        }

        public Criteria andFaultSourceNotIn(List<String> values) {
            addCriterion("fault_source not in", values, "faultSource");
            return (Criteria) this;
        }

        public Criteria andFaultSourceBetween(String value1, String value2) {
            addCriterion("fault_source between", value1, value2, "faultSource");
            return (Criteria) this;
        }

        public Criteria andFaultSourceNotBetween(String value1, String value2) {
            addCriterion("fault_source not between", value1, value2, "faultSource");
            return (Criteria) this;
        }

        public Criteria andFaultStatusIsNull() {
            addCriterion("fault_status is null");
            return (Criteria) this;
        }

        public Criteria andFaultStatusIsNotNull() {
            addCriterion("fault_status is not null");
            return (Criteria) this;
        }

        public Criteria andFaultStatusEqualTo(String value) {
            addCriterion("fault_status =", value, "faultStatus");
            return (Criteria) this;
        }

        public Criteria andFaultStatusNotEqualTo(String value) {
            addCriterion("fault_status <>", value, "faultStatus");
            return (Criteria) this;
        }

        public Criteria andFaultStatusGreaterThan(String value) {
            addCriterion("fault_status >", value, "faultStatus");
            return (Criteria) this;
        }

        public Criteria andFaultStatusGreaterThanOrEqualTo(String value) {
            addCriterion("fault_status >=", value, "faultStatus");
            return (Criteria) this;
        }

        public Criteria andFaultStatusLessThan(String value) {
            addCriterion("fault_status <", value, "faultStatus");
            return (Criteria) this;
        }

        public Criteria andFaultStatusLessThanOrEqualTo(String value) {
            addCriterion("fault_status <=", value, "faultStatus");
            return (Criteria) this;
        }

        public Criteria andFaultStatusLike(String value) {
            addCriterion("fault_status like", value, "faultStatus");
            return (Criteria) this;
        }

        public Criteria andFaultStatusNotLike(String value) {
            addCriterion("fault_status not like", value, "faultStatus");
            return (Criteria) this;
        }

        public Criteria andFaultStatusIn(List<String> values) {
            addCriterion("fault_status in", values, "faultStatus");
            return (Criteria) this;
        }

        public Criteria andFaultStatusNotIn(List<String> values) {
            addCriterion("fault_status not in", values, "faultStatus");
            return (Criteria) this;
        }

        public Criteria andFaultStatusBetween(String value1, String value2) {
            addCriterion("fault_status between", value1, value2, "faultStatus");
            return (Criteria) this;
        }

        public Criteria andFaultStatusNotBetween(String value1, String value2) {
            addCriterion("fault_status not between", value1, value2, "faultStatus");
            return (Criteria) this;
        }

        public Criteria andFaultDescriptionIsNull() {
            addCriterion("fault_description is null");
            return (Criteria) this;
        }

        public Criteria andFaultDescriptionIsNotNull() {
            addCriterion("fault_description is not null");
            return (Criteria) this;
        }

        public Criteria andFaultDescriptionEqualTo(String value) {
            addCriterion("fault_description =", value, "faultDescription");
            return (Criteria) this;
        }

        public Criteria andFaultDescriptionNotEqualTo(String value) {
            addCriterion("fault_description <>", value, "faultDescription");
            return (Criteria) this;
        }

        public Criteria andFaultDescriptionGreaterThan(String value) {
            addCriterion("fault_description >", value, "faultDescription");
            return (Criteria) this;
        }

        public Criteria andFaultDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("fault_description >=", value, "faultDescription");
            return (Criteria) this;
        }

        public Criteria andFaultDescriptionLessThan(String value) {
            addCriterion("fault_description <", value, "faultDescription");
            return (Criteria) this;
        }

        public Criteria andFaultDescriptionLessThanOrEqualTo(String value) {
            addCriterion("fault_description <=", value, "faultDescription");
            return (Criteria) this;
        }

        public Criteria andFaultDescriptionLike(String value) {
            addCriterion("fault_description like", value, "faultDescription");
            return (Criteria) this;
        }

        public Criteria andFaultDescriptionNotLike(String value) {
            addCriterion("fault_description not like", value, "faultDescription");
            return (Criteria) this;
        }

        public Criteria andFaultDescriptionIn(List<String> values) {
            addCriterion("fault_description in", values, "faultDescription");
            return (Criteria) this;
        }

        public Criteria andFaultDescriptionNotIn(List<String> values) {
            addCriterion("fault_description not in", values, "faultDescription");
            return (Criteria) this;
        }

        public Criteria andFaultDescriptionBetween(String value1, String value2) {
            addCriterion("fault_description between", value1, value2, "faultDescription");
            return (Criteria) this;
        }

        public Criteria andFaultDescriptionNotBetween(String value1, String value2) {
            addCriterion("fault_description not between", value1, value2, "faultDescription");
            return (Criteria) this;
        }

        public Criteria andMaintenanceCycleIsNull() {
            addCriterion("maintenance_cycle is null");
            return (Criteria) this;
        }

        public Criteria andMaintenanceCycleIsNotNull() {
            addCriterion("maintenance_cycle is not null");
            return (Criteria) this;
        }

        public Criteria andMaintenanceCycleEqualTo(String value) {
            addCriterion("maintenance_cycle =", value, "maintenanceCycle");
            return (Criteria) this;
        }

        public Criteria andMaintenanceCycleNotEqualTo(String value) {
            addCriterion("maintenance_cycle <>", value, "maintenanceCycle");
            return (Criteria) this;
        }

        public Criteria andMaintenanceCycleGreaterThan(String value) {
            addCriterion("maintenance_cycle >", value, "maintenanceCycle");
            return (Criteria) this;
        }

        public Criteria andMaintenanceCycleGreaterThanOrEqualTo(String value) {
            addCriterion("maintenance_cycle >=", value, "maintenanceCycle");
            return (Criteria) this;
        }

        public Criteria andMaintenanceCycleLessThan(String value) {
            addCriterion("maintenance_cycle <", value, "maintenanceCycle");
            return (Criteria) this;
        }

        public Criteria andMaintenanceCycleLessThanOrEqualTo(String value) {
            addCriterion("maintenance_cycle <=", value, "maintenanceCycle");
            return (Criteria) this;
        }

        public Criteria andMaintenanceCycleLike(String value) {
            addCriterion("maintenance_cycle like", value, "maintenanceCycle");
            return (Criteria) this;
        }

        public Criteria andMaintenanceCycleNotLike(String value) {
            addCriterion("maintenance_cycle not like", value, "maintenanceCycle");
            return (Criteria) this;
        }

        public Criteria andMaintenanceCycleIn(List<String> values) {
            addCriterion("maintenance_cycle in", values, "maintenanceCycle");
            return (Criteria) this;
        }

        public Criteria andMaintenanceCycleNotIn(List<String> values) {
            addCriterion("maintenance_cycle not in", values, "maintenanceCycle");
            return (Criteria) this;
        }

        public Criteria andMaintenanceCycleBetween(String value1, String value2) {
            addCriterion("maintenance_cycle between", value1, value2, "maintenanceCycle");
            return (Criteria) this;
        }

        public Criteria andMaintenanceCycleNotBetween(String value1, String value2) {
            addCriterion("maintenance_cycle not between", value1, value2, "maintenanceCycle");
            return (Criteria) this;
        }

        public Criteria andMaintenanceStandardIsNull() {
            addCriterion("maintenance_standard is null");
            return (Criteria) this;
        }

        public Criteria andMaintenanceStandardIsNotNull() {
            addCriterion("maintenance_standard is not null");
            return (Criteria) this;
        }

        public Criteria andMaintenanceStandardEqualTo(String value) {
            addCriterion("maintenance_standard =", value, "maintenanceStandard");
            return (Criteria) this;
        }

        public Criteria andMaintenanceStandardNotEqualTo(String value) {
            addCriterion("maintenance_standard <>", value, "maintenanceStandard");
            return (Criteria) this;
        }

        public Criteria andMaintenanceStandardGreaterThan(String value) {
            addCriterion("maintenance_standard >", value, "maintenanceStandard");
            return (Criteria) this;
        }

        public Criteria andMaintenanceStandardGreaterThanOrEqualTo(String value) {
            addCriterion("maintenance_standard >=", value, "maintenanceStandard");
            return (Criteria) this;
        }

        public Criteria andMaintenanceStandardLessThan(String value) {
            addCriterion("maintenance_standard <", value, "maintenanceStandard");
            return (Criteria) this;
        }

        public Criteria andMaintenanceStandardLessThanOrEqualTo(String value) {
            addCriterion("maintenance_standard <=", value, "maintenanceStandard");
            return (Criteria) this;
        }

        public Criteria andMaintenanceStandardLike(String value) {
            addCriterion("maintenance_standard like", value, "maintenanceStandard");
            return (Criteria) this;
        }

        public Criteria andMaintenanceStandardNotLike(String value) {
            addCriterion("maintenance_standard not like", value, "maintenanceStandard");
            return (Criteria) this;
        }

        public Criteria andMaintenanceStandardIn(List<String> values) {
            addCriterion("maintenance_standard in", values, "maintenanceStandard");
            return (Criteria) this;
        }

        public Criteria andMaintenanceStandardNotIn(List<String> values) {
            addCriterion("maintenance_standard not in", values, "maintenanceStandard");
            return (Criteria) this;
        }

        public Criteria andMaintenanceStandardBetween(String value1, String value2) {
            addCriterion("maintenance_standard between", value1, value2, "maintenanceStandard");
            return (Criteria) this;
        }

        public Criteria andMaintenanceStandardNotBetween(String value1, String value2) {
            addCriterion("maintenance_standard not between", value1, value2, "maintenanceStandard");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIsNull() {
            addCriterion("is_enabled is null");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIsNotNull() {
            addCriterion("is_enabled is not null");
            return (Criteria) this;
        }

        public Criteria andIsEnabledEqualTo(Short value) {
            addCriterion("is_enabled =", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotEqualTo(Short value) {
            addCriterion("is_enabled <>", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledGreaterThan(Short value) {
            addCriterion("is_enabled >", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledGreaterThanOrEqualTo(Short value) {
            addCriterion("is_enabled >=", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledLessThan(Short value) {
            addCriterion("is_enabled <", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledLessThanOrEqualTo(Short value) {
            addCriterion("is_enabled <=", value, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledIn(List<Short> values) {
            addCriterion("is_enabled in", values, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotIn(List<Short> values) {
            addCriterion("is_enabled not in", values, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledBetween(Short value1, Short value2) {
            addCriterion("is_enabled between", value1, value2, "isEnabled");
            return (Criteria) this;
        }

        public Criteria andIsEnabledNotBetween(Short value1, Short value2) {
            addCriterion("is_enabled not between", value1, value2, "isEnabled");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}